
/* 个人中心-商品收藏 */
.page-uc-collection {
  .goods-list {
    .list-con {
      margin-top: -15px;
      width: 1080px;
      .item {
        border: 1px solid #eee;
        width: 253px;
        &:hover {
          opacity: 1;
          box-shadow: 0 0 8px rgba(0,0,0,.07);
        }
        .goods-img {
          width: 253px;
          height: 253px;
          line-height: 253px;
          div {
            height: 100%;
            width: 100%;
          }
        }
        .goods-msg {
          padding: 10px;
        }
      }
      .item.batch-edit {
        &:hover {
          opacity: 1;
          box-shadow: none;
          border-color: #e1251b;
        }
      }
      .item.checked {
        border-color: #e1251b;
        .item-mask {
          .icon {
            background: #e1251b;
          }
        }
      }
    }
  }
  .goods-action {
    text-align: center;
    line-height: 35px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    display: flex;
    .action-a {
      color: #666;
      text-align: center;
      width: 50%;
      .icon {
        display: inline-block;
        vertical-align: top;
        background: url(@/assets/images/icons.png) no-repeat;
        margin-right: 5px;
      }
      &:hover {
        color: #e1251b;
      }
    }
    .action-a.a1 {
      border-right: 1px solid #eee;
      .icon {
        width: 17px;
        height: 15px;
        margin-top: 10px;
        background-position: 0 -38px;
      }
      &:hover {
        .icon {
          background-position: -22px -38px;
        }
      }
    }
    .action-a.a2 {
      .icon {
        width: 14px;
        height: 14px;
        margin-top: 10px;
        background-position: 0 -415px;
      }
      &:hover {
        .icon {
          background-position: -19px -415px;
        }
      }
    }
  }
  .item-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    display: none;
    .icon {
      position: absolute;
      right: 0;
      top: 0;
      width: 30px;
      height: 30px;
      background: rgba(0,0,0,0.2);
      &::before {
        position: absolute;
        top: 9px;
        left: 7px;
        display: block;
        width: 16px;
        height: 12px;
        content: " ";
        background: url(@/assets/images/icons.png) no-repeat 0 -746px;
      }
    }
  }
  .batch-edit {
    .item-mask {
      display: block;
    }
  }
  .pages {
    margin-top: 20px;
    margin-right: 10px;
  }
  .shop-list {
    .item {
      border: 1px solid #eee;
      display: flex;
      margin-bottom: 15px;
      -moz-transition: all 0.2s;
      -webkit-transition: all 0.2s;
      -o-transition: all 0.2s;
      transition: all 0.2s;
      position: relative;
      &:hover {
        box-shadow: 0 0 8px rgba(0,0,0,.05);
      }
      .shop-msg {
        width: 287px;
        border-right: 1px solid #eee;
        .shop-logo {
          display: block;
          width: 120px;
          height: 120px;
          line-height: 120px;
          margin: 10px auto;
          font-size: 0;
          img {
            max-width: 100%;
            max-height: 100%;
            vertical-align: middle;
          }
        }
        .shop-name {
          font-size: 14px;
          display: block;
          height: 16px;
          line-height: 14px;
          text-align: center;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          .self {
            background: #e1251b;
            color: #fff;
            padding: 0 3px;
            display: inline-block;
            height: 16px;
            line-height: 16px;
            border-radius: 2px;
            margin-right: 5px;
            font-size: 12px;
            vertical-align: top;
          }
        }
        .collection-number {
          display: block;
          height: 19px;
          line-height: 19px;
          color: #999;
          text-align: center;
          margin-top: 10px;
          font-family: arial;
        }
        .shop-action {
          text-align: center;
          line-height: 35px;
          background: #f9f9f9;
          border-top: 1px solid #eee;
          display: flex;
          margin-top: 20px;
          .action-a {
            color: #666;
            text-align: center;
            width: 50%;
            .icon {
              display: inline-block;
              vertical-align: top;
              background: url(@/assets/images/icons.png) no-repeat;
              margin-right: 5px;
            }
            &:hover {
              color: #e1251b;
            }
          }
          .action-a.a1 {
            border-right: 1px solid #eee;
            .icon {
              width: 14px;
              height: 13px;
              margin-top: 11px;
              background-position: -28px -458px;
            }
            &:hover {
              .icon {
                background-position: -9px -458px;
              }
            }
          }
          .action-a.a2 {
            .icon {
              width: 14px;
              height: 14px;
              margin-top: 10px;
              background-position: 0 -415px;
            }
            &:hover {
              .icon {
                background-position: -19px -415px;
              }
            }
          }
        }
      }
      .shop-goods {
        flex: 1;
        .shop-nav {
          height: 28px;
          padding: 15px;
          display: flex;
          align-items: center;
          .nav-box {
            flex: 1;
            display: flex;
            .nav-item {
              height: 25px;
              line-height: 25px;
              padding: 0 14px;
              border: 1px solid #eee;
              margin-left: -1px;
              position: relative;
              &:hover {
                border-color: #e1251b;
                z-index: 1;
                color: #e1251b;
              }
              .number {
                font-family: arial;
                margin-left: 3px;
              }
            }
            .nav-item.active {
              border-color: #e1251b;
              z-index: 1;
              color: #e1251b;
            }
          }
          .nav-page {
            display: flex;
            align-items: center;
            .page-number {
              font-family: arial;
              margin-right: 15px;
              .page-current {
                color: #e1251b;
              }
            }
            .page-btn {
              display: flex;
              .prev {
                width: 30px;
                height: 20px;
                line-height: 18px;
                border: 1px solid #e4e4e4;
                margin-left: -1px;
                text-align: center;
                font-size: 20px;
                font-family: Consolas;
                color: #333;
                cursor: pointer;
              }
              .next {
                width: 30px;
                height: 20px;
                line-height: 18px;
                border: 1px solid #e4e4e4;
                margin-left: -1px;
                text-align: center;
                font-size: 20px;
                font-family: Consolas;
                color: #333;
                cursor: pointer;
              }
              .limit {
                color: #ccc;
                background: #f9f9f9;
                cursor: not-allowed;
              }
            }
          }
        }
        .goods-list {
          display: flex;
          padding-bottom: 15px;
          .list-item {
            text-align: center;
            margin-left: 15px;
            -moz-transition: all 0.2s;
            -webkit-transition: all 0.2s;
            -o-transition: all 0.2s;
            transition: all 0.2s;
            &:hover {
              opacity: 0.8;
            }
            .img {
              display: block;
              width: 140px;
              height: 140px;
              line-height: 140px;
              font-size: 0;
              img {
                max-width: 100%;
                max-height: 100%;
                vertical-align: middle;
              }
            }
            .price {
              margin-top: 10px;
              color: #000;
              .big {
                font-size: 14px;
              }
            }
          }
        }
      }
      .item-mask {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.2);
        z-index: 3;
        display: none;
        .icon {
          position: absolute;
          right: 0;
          top: 0;
          width: 30px;
          height: 30px;
          background: rgba(0,0,0,0.2);
        }
      }
      .icon {
        &::before {
          position: absolute;
          top: 9px;
          left: 7px;
          display: block;
          width: 16px;
          height: 12px;
          content: " ";
          background: url(@/assets/images/icons.png) no-repeat 0 -746px;
        }
      }
    }
    .item.batch-edit {
      .item-mask {
        display: block;
      }
      &:hover {
        box-shadow: none;
        border-color: #e1251b;
      }
    }
    .item.checked {
      border-color: #e1251b;
      .item-mask {
        .icon {
          background: #e1251b;
        }
      }
    }
  }
}

/* 个人中心-店铺收藏 end */

.el-pagination {
  text-align: right;
  padding: 20px 30px 0;
}
.pagination .el-pagination button,
.el-pagination span:not([class*='suffix']) {
  padding: 0 8px !important;
}
.pagination .el-pagination.is-background .btn-next,
.el-pagination.is-background .btn-prev,
.el-pagination.is-background .el-pager li {
  background-color: #fff !important;
}
.pagination .el-pagination__editor.el-input .el-input__inner {
  width: 30px !important;
}
